home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / autoit / autoit-v3.2.0.1-setup.exe / Examples / Helpfile / IfElseEndif.au3 < prev    next >
Text File  |  2006-06-17  |  289b  |  12 lines

  1. If $var > 0 Then
  2.     MsgBox(4096,"", "Value is positive.")
  3. ElseIf $var < 0 Then
  4.     MsgBox(4096,"", "Value is negative.")
  5. Else
  6.     If StringIsXDigit ($var) Then
  7.         MsgBox(4096,"", "Value might be hexadecimal!")
  8.     Else
  9.         MsgBox(4096,"", "Value is either a string or is zero.")
  10.     EndIf
  11. EndIf
  12.